﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CommonUtil.Model
{
    public class AppConfigInfo
    {
        /// <summary>
        /// EmguCV特征检测分类器文件路径
        /// </summary>
        private string _faceTrainedFileName;

        /// <summary>
        /// EmguCV人脸识别类型(0:基于PCA变换的人脸识别 1:基于Fisher变换的人脸识别 2:基于局部二值模式的人脸识别)
        /// </summary>
        private string _faceRecognizerType;

        /// <summary>
        /// 人脸API KEY
        /// </summary>
        private string _faceApiKey;

        /// <summary>
        /// 情感API KEY
        /// </summary>
        private string _emotionApiKey;

        /// <summary>
        /// 人脸组名称
        /// </summary>
        private string _faceGroupName;

        /// <summary>
        /// 是否开启语言播报（0:不开启,1:开启）
        /// </summary>
        private bool _speechEnabled;

        /// <summary>
        /// 自动识别间隔时间（秒）
        /// </summary>
        private string _identifyTime;

        /// <summary>
        /// 是否开启人脸跟踪（0:不开启,1:开启）
        /// </summary>
        private bool _facetracking;

        /// <summary>
        /// EmguCV特征检测分类器文件路径
        /// </summary>
        public string FaceTrainedFileName
        {
            get
            {
                return _faceTrainedFileName;
            }

            set
            {
                _faceTrainedFileName = value;
            }
        }

        /// <summary>
        /// EmguCV人脸识别类型(0:基于PCA变换的人脸识别 1:基于Fisher变换的人脸识别 2:基于局部二值模式的人脸识别)
        /// </summary>
        public string FaceRecognizerType
        {
            get
            {
                return _faceRecognizerType;
            }

            set
            {
                _faceRecognizerType = value;
            }
        }

        /// <summary>
        /// 人脸API KEY
        /// </summary>
        public string FaceApiKey
        {
            get
            {
                return _faceApiKey;
            }

            set
            {
                _faceApiKey = value;
            }
        }

        /// <summary>
        /// 情感API KEY
        /// </summary>
        public string EmotionApiKey
        {
            get
            {
                return _emotionApiKey;
            }

            set
            {
                _emotionApiKey = value;
            }
        }

        /// <summary>
        /// 人脸组名称
        /// </summary>
        public string FaceGroupName
        {
            get
            {
                return _faceGroupName;
            }

            set
            {
                _faceGroupName = value;
            }
        }

        /// <summary>
        /// 是否开启语言播报（0:不开启,1:开启）
        /// </summary>
        public bool SpeechEnabled
        {
            get
            {
                return _speechEnabled;
            }

            set
            {
                _speechEnabled = value;
            }
        }

        /// <summary>
        /// 自动识别间隔时间（秒）
        /// </summary>
        public string IdentifyTime
        {
            get
            {
                return _identifyTime;
            }

            set
            {
                _identifyTime = value;
            }
        }

        /// <summary>
        /// 是否开启人脸跟踪
        /// </summary>
        public bool Facetracking
        {
            get
            {
                return _facetracking;
            }

            set
            {
                _facetracking = value;
            }
        }
    }
}
